package com.feige.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author feige
 */
@Data
public class LoginFormDto {

    @NotBlank(message = "用户名不能为空！")
    private String email;

    @Size(min = 6,max = 16,message = "密码长度必须为6~16位！")
    private String password;

    private String code;

    private String uuid;

    @NotNull(message = "标识不能为空！")
    private Boolean flag;
}
